import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/display.css'

import App from '@/App.vue'
import '@/index.css'
import router from '@/router'
import config from "@/config"
import storage from "@/utils/storage";

const  app = createApp(App)
//挂载全局对象
app.config.globalProperties.$CONFIG = config;
app.config.globalProperties.$STORAGE = storage;

app.use(router) //使用路由
app.use(ElementPlus, {size: 'small'});//饿了么框架
app.mount('#app')
